<%--
  Created by IntelliJ IDEA.
  User: jack
  Date: 2020-06-15
  Time: 14:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        .user-email-wrapper {
            padding: 16px;
            height: 240px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .user-email-wrapper form {
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 180px;
            width: 240px;
        }

        .user-email-wrapper form .field-wrapper {
            flex: 1;
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }

        .user-email-wrapper form .field-wrapper label {
            font-size: 16px;
            font-weight: 700;
        }

        .user-email-wrapper form .email-wrapper {
            flex: 1;
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }

        .user-email-wrapper form .email-wrapper .email {
            width: 100%;
            height: 40px;
            line-height: 40px;
            font-size: 14px;
            border-radius: 3px;
            padding-left: 16px;
        }

        .user-email-wrapper form .email-wrapper .email::placeholder {
            color: rgba(7, 17, 27, 0.3);
            font-size: 14px;
        }

        .user-email-wrapper form .btn-wrapper {
            flex: 1;
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }

        .user-email-wrapper form .btn-wrapper button {
            width: 100%;
        }
    </style>
</head>
<body>
<div class="user-center">
    <div class="center-header">
        <div class="tree-nav">
            个人中心
        </div>
        <div class="info-nav">
            个人中心>邮箱信息
        </div>
    </div>
    <div class="center-body">
        <div class="body-tree">
            <ul class="tree-list">
                <li class="user-info">
                    <a href="/user/toInfo">个人信息</a>
                </li>
                <li class="user-email active">
                    <a href="/user/toEmail">绑定邮箱</a>
                </li>
                <li class="user-password">
                    <a href="/user/toPassword">修改密码</a>
                </li>
                <li class="user-set">
                    <a href="">个人设置</a>
                </li>
            </ul>
        </div>
        <div class="body-content">
            <div class="user-email-wrapper">
                <form action="/user/email" method="post">
                    <div class="field-wrapper">
                        <label for="email">请输入绑定的邮箱:</label>
                    </div>
                    <div class="email-wrapper">
                        <input class="email" name="email" id="email" type="email" required placeholder="请输入绑定邮箱">
                    </div>
                    <div class="btn-wrapper">
                        <button type="submit" class="layui-btn layui-btn-danger">绑定邮箱</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>
